
<div id="content" class="testd"><br><br>
<h1><?php if($title){ echo $title; } ?></h1><br>
<a href="<?php echo site_url('quiz');?>">Back</a>
<br>
<?php 
if($resultstatus){ echo "<div id='result'>".$resultstatus."</div>"; }
 ?>
 <div class="wite">
<table id="detail">
<tr><td >Quiz Name</td><td><?php echo $result->quiz_name;?></td></tr>
<tr><td valign="top">Description</td><td><?php echo $result->description;?></td></tr>
<tr><td valign="top">Duration</td><td><?php echo $result->duration;?> Minutes</td></tr>
<tr><td valign="top">Start time</td><td><?php echo date("Y-m-d",$result->start_time);?></td></tr>
<tr><td valign="top">End time</td><td><?php echo date("Y-m-d",$result->end_time);?></td></tr>
<tr><td valign="top">Percentage required to pass</td><td><?php echo $result->pass_percentage;?>%</td></tr>
<tr><td valign="top">Test type</td><td><?php if($result->test_type=="1"){ echo "Paid ( credit require: ".$result->credit.")"; }else{ echo "Free"; } ?>
<tr><td valign="top">Maximum Attempts</td><td><?php echo $result->max_attempts;?> </td></tr>
<tr><td valign="top">Correct answer score</td><td><?php echo $result->correct_score;?> </td></tr>
<tr><td valign="top">Incorrect answer score</td><td><?php echo $result->incorrect_score;?> </td></tr>
<tr><td valign="top"></td><td>
<input type="button" Value="Start Test" onClick="javascript:window.location='<?php echo site_url('quiz/access_test/'.$result->quid);?>'">

</td></tr>

</td></tr>



</table></div>


</div>
